#!/bin/bash

cd /home/grupo02/mc715project
ant dist
rm -rf logs/*

ssh -Cqn n02 "cd mc715project; java -jar dist/mc715.jar auto 4 logs/log02.txt 4" &
ssh -Cqn n03 "cd mc715project; java -jar dist/mc715.jar auto 4 logs/log03.txt 4" &
ssh -Cqn n04 "cd mc715project; java -jar dist/mc715.jar auto 4 logs/log04.txt 4" &
ssh -Cqn n05 "cd mc715project; java -jar dist/mc715.jar auto 4 logs/log05.txt 4" &
